#pragma once

#include <linux/compiler_types.h>

#define likely(x) (x)
#define unlikely(x) (x)

#ifndef __maybe_unused
#define __maybe_unused __attribute__((unused))
#endif

#include <asm/rwonce.h>

#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)

#define __user

/* Optimization barrier */
#ifndef barrier
/* The "volatile" is due to gcc bugs */
#define barrier() __asm__ __volatile__("" : : : "memory")
#endif
